]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
2 years agoFdoNotificationDaemon: Emit ActivationToken before ActionInvoked signal
Julian Sparber [Mon, 19 Feb 2024 16:31:52 +0000 (17:31 +0100)]
FdoNotificationDaemon: Emit ActivationToken before ActionInvoked signal

Two years ago FDO notifications spec gained the ability to pass an
activation token (often called startup id) let's finally implement it.

See: https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/b9a470004d

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/358
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3199>

2 years agoGTKNotificationDaemon: Use ShellApp methods to activate apps
Julian Sparber [Thu, 15 Feb 2024 16:41:29 +0000 (17:41 +0100)]
GTKNotificationDaemon: Use ShellApp methods to activate apps

`ShellApp` gained the ability to activated actions and it sets the correct
platform data. Therefore drop the current implementation in favor for it.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7409
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5239
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>

2 years agostatus/backgroundApps: Use ShellApp.activate_action() to quit apps
Julian Sparber [Mon, 19 Feb 2024 08:43:56 +0000 (09:43 +0100)]
status/backgroundApps: Use ShellApp.activate_action() to quit apps

`ShellApp` gained the ability to activated actions, therefore drop the current
implementation in favor for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>

2 years agostatus/network: Use ShellApp.activate_action() to launch settings panel
Julian Sparber [Mon, 19 Feb 2024 08:40:43 +0000 (09:40 +0100)]
status/network: Use ShellApp.activate_action() to launch settings panel

`ShellApp` gained the ability to activated actions and sets the correct
platform data, therefore drop the current implementation in favor for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>

2 years agoshell/global: Don't force active workspace for launch context
Julian Sparber [Mon, 19 Feb 2024 14:15:48 +0000 (15:15 +0100)]
shell/global: Don't force active workspace for launch context

Since the launch context may also be used to activate an action on an
running application with an already existing window, which we don't
necessarily want to move to a different workspace, don't set a workspace
for the launch context. If no active window exists for an application
then it will be place on the currently active workspace anyways.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>

2 years agoshell/app: Add method to activate an action via FDO DBus activation
Julian Sparber [Mon, 19 Feb 2024 08:30:25 +0000 (09:30 +0100)]
shell/app: Add method to activate an action via FDO DBus activation

There are multiple different places where we activate an app action,
but none set the correct activation token. Therefore this adds an async
method to to call `ActivateAction` on `org.freedesktop.Appliaction`
with the correct activation token/startup id as platform data.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>

2 years agoUpdate German translation
Jürgen Benvenuti [Mon, 26 Feb 2024 19:58:23 +0000 (19:58 +0000)]
Update German translation

2 years agoci: Rebase image to F40
Florian Müllner [Fri, 23 Feb 2024 15:38:09 +0000 (16:38 +0100)]
ci: Rebase image to F40

After the main image was rebased, let's do the same for our
JS tooling.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>

2 years agoci: Don't install entire Development group
Florian Müllner [Fri, 23 Feb 2024 23:00:34 +0000 (00:00 +0100)]
ci: Don't install entire Development group

With dependencies, the group pulls in about 150 packages. We only
need a tiny tiny subset of that, so only specify what we really
need to not blow up the image size unnecessarily.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>

2 years agoci: Bump mutter image
Florian Müllner [Fri, 23 Feb 2024 15:36:59 +0000 (16:36 +0100)]
ci: Bump mutter image

The image was rebased to f40, pull that in.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>

2 years agoUpdate French translation
Guillaume Bernard [Sun, 25 Feb 2024 10:18:15 +0000 (10:18 +0000)]
Update French translation

2 years agoUpdate Chinese (Taiwan) translation
Chao-Hsiung Liao [Sun, 25 Feb 2024 10:04:30 +0000 (10:04 +0000)]
Update Chinese (Taiwan) translation

2 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sun, 25 Feb 2024 06:42:13 +0000 (06:42 +0000)]
Update Basque translation

2 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sat, 24 Feb 2024 19:44:10 +0000 (19:44 +0000)]
Update Latvian translation

2 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 24 Feb 2024 17:17:43 +0000 (17:17 +0000)]
Update Kazakh translation

2 years agoUpdate Occitan translation
Quentin PAGÈS [Sat, 24 Feb 2024 17:04:35 +0000 (17:04 +0000)]
Update Occitan translation

2 years agoUpdate British English translation
Bruce Cowan [Sat, 24 Feb 2024 16:01:21 +0000 (16:01 +0000)]
Update British English translation

2 years agoUpdate Norwegian Bokmål translation
Brage Fuglseth [Sat, 24 Feb 2024 13:35:25 +0000 (13:35 +0000)]
Update Norwegian Bokmål translation

2 years agoUpdate Catalan translation
Jordi Mas i Hernandez [Fri, 23 Feb 2024 08:37:06 +0000 (08:37 +0000)]
Update Catalan translation

2 years agoUpdate Galician translation
Fran Dieguez [Thu, 22 Feb 2024 18:08:52 +0000 (18:08 +0000)]
Update Galician translation

2 years agoUpdate Chinese (China) translation
Luming Zh [Thu, 22 Feb 2024 15:19:43 +0000 (15:19 +0000)]
Update Chinese (China) translation

2 years agoUpdate Indonesian translation
Kukuh Syafaat [Thu, 22 Feb 2024 13:48:48 +0000 (13:48 +0000)]
Update Indonesian translation

2 years agoUpdate French translation
Irénée THIRION [Thu, 22 Feb 2024 09:31:55 +0000 (09:31 +0000)]
Update French translation

2 years agoUpdate Belarusian translation
Vasil Pupkin [Thu, 22 Feb 2024 00:30:54 +0000 (00:30 +0000)]
Update Belarusian translation

2 years agoUpdate Turkish translation
Sabri Ünal [Wed, 21 Feb 2024 17:25:13 +0000 (17:25 +0000)]
Update Turkish translation

2 years agoshell: Remove left-over function declaration
Florian Müllner [Wed, 21 Feb 2024 15:09:32 +0000 (16:09 +0100)]
shell: Remove left-over function declaration

The function itself was removed in commit 4b80cbe1cd9e back
in 2016.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3206>

2 years agonotificationDaemon: Fix auto-closing FDO notifications
Florian Müllner [Tue, 20 Feb 2024 18:46:19 +0000 (19:46 +0100)]
notificationDaemon: Fix auto-closing FDO notifications

We auto-close FDO notifications when the sender leaves the bus,
given that the protocol was created without persistency in mind
and any action will become invalid.

However that broke when moving the public-facing implementation
into a separate service, as we now track the (always running)
service instead of the original sender.

Fix that by forwarding the sender to the internal implementation
via a private hint, just like we already do for the PID.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3204>

2 years agonotificationDaemon: Namespace private `sender-pid` hint
Florian Müllner [Tue, 20 Feb 2024 18:39:31 +0000 (19:39 +0100)]
notificationDaemon: Namespace private `sender-pid` hint

The hint is a private implementation detail between the public
and internal services, not something anybody else should set
(*cough* libnotify *cough*).

Prefix the name to hopefully make that clearer.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3204>

2 years agoplugin: Stop overriding xevent_filter
Bilal Elmoussaoui [Tue, 20 Feb 2024 13:06:14 +0000 (14:06 +0100)]
plugin: Stop overriding xevent_filter

The vfunc was used to register profiling hooks for glx.swapComplete
as we have sysprof nowadays and as that code path is x11 specific
anyways, let us drop it

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3201>

2 years agoextensions-app: Fix service activation mix-up
Florian Müllner [Tue, 20 Feb 2024 12:09:41 +0000 (13:09 +0100)]
extensions-app: Fix service activation mix-up

Starting the D-Bus service should not pop-up a window by itself,
it should just register and wait for an explicit call to Activate().

The .desktop file on the other hand should fully activate the
app when using the Exec line.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7423

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3202>

2 years agocomponents/networkAgent: Fix small mistake
Julian Sparber [Tue, 20 Feb 2024 10:55:06 +0000 (11:55 +0100)]
components/networkAgent: Fix small mistake

Fixes: c1ff00c01 ("notification: Use the same Source for showing system notifications")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3200>

2 years agoUpdate Catalan translation
Quique Serrano [Mon, 19 Feb 2024 13:56:18 +0000 (13:56 +0000)]
Update Catalan translation

2 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 19 Feb 2024 12:27:07 +0000 (13:27 +0100)]
Updated Spanish translation

2 years agoUpdate Slovenian translation
Matej Urbančič [Mon, 19 Feb 2024 10:09:32 +0000 (10:09 +0000)]
Update Slovenian translation

2 years agoUpdate Slovenian translation
Matej Urbančič [Mon, 19 Feb 2024 10:03:43 +0000 (10:03 +0000)]
Update Slovenian translation

2 years agoUpdate Lithuanian translation
Aurimas Černius [Sun, 18 Feb 2024 20:34:40 +0000 (20:34 +0000)]
Update Lithuanian translation

2 years agoUpdate Dutch translation
Nathan Follens [Sun, 18 Feb 2024 16:42:31 +0000 (16:42 +0000)]
Update Dutch translation

2 years agoUpdate Turkish translation
Emin Tufan Çetin [Sun, 18 Feb 2024 15:41:55 +0000 (15:41 +0000)]
Update Turkish translation

2 years agoUpdate Turkish translation
Sabri Ünal [Sun, 18 Feb 2024 09:23:01 +0000 (09:23 +0000)]
Update Turkish translation

2 years agoUpdate Norwegian Bokmål translation
Brage Fuglseth [Sat, 17 Feb 2024 22:25:01 +0000 (22:25 +0000)]
Update Norwegian Bokmål translation

2 years agoauthPrompt: Disregard smartcard status changes if VERIFICATION_IN_PROGRESS
Ray Strode [Mon, 15 May 2023 14:48:15 +0000 (10:48 -0400)]
authPrompt: Disregard smartcard status changes if VERIFICATION_IN_PROGRESS

commit c8bb45b41c3a13ef161103f649aa18938e028a70 introduced a new
verification state, VERIFICATION_IN_PROGRESS, to detect when the user
has already interacted with the authentication prompt, so the
prompt can rate limit the number of times the user can cancel
authentication attempts with the escape key (without also rate limiting
the number of times they can hit escape to go back to the clock without
interacting with the prompt).

That means there are now two states that represent the user actively
undergoing verification: VERIFYING and VERIFICATION_IN_PROGRESS.

It's inappropriate to reset the smartcard service if the user is
actively conversing with it. We try to check for that by looking at the
original verification state, VERIFYING, but we unfortunately, neglect
to account for the new VERIFICATION_IN_PROGRESS state.

The result is that if a user types their smartcard pin at the clock,
and then inserts their smartcard, the pin will get cleared instead of
used, and they have to retype it again.

This commit fixes the oversight, and allows users to again pre-type
their smartcard pin at the clock before inserting their smartcard.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2765>

2 years agoUpdate Czech translation
Daniel Rusek [Sat, 17 Feb 2024 13:58:20 +0000 (13:58 +0000)]
Update Czech translation

2 years agoUpdate Persian translation
Danial Behzadi [Sat, 17 Feb 2024 12:42:53 +0000 (12:42 +0000)]
Update Persian translation

2 years agosessionMode: Use property spread to sync mode
Florian Müllner [Tue, 17 Dec 2019 19:06:24 +0000 (20:06 +0100)]
sessionMode: Use property spread to sync mode

The parameters here come from a fixed set of mode definitions rather
than a function parameter, so the additional check performed by
Params.parse() isn't relevant here.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3196>

2 years agocleanup: Also replace Params.parse(..., true) with spread
Florian Müllner [Tue, 17 Dec 2019 19:06:24 +0000 (20:06 +0100)]
cleanup: Also replace Params.parse(..., true) with spread

This is what Params.parse() boils down to when accepting extra
parameters, so we can just as well use standard syntax here.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3196>

2 years agocleanup: Use spread properties instead of Object.assign()
Florian Müllner [Wed, 25 Mar 2020 00:00:56 +0000 (01:00 +0100)]
cleanup: Use spread properties instead of Object.assign()

It's more concise and has been around long enough to embrace it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3196>

2 years agolg: Replace remaining Color.init_from_4ub usage
Bilal Elmoussaoui [Fri, 16 Feb 2024 22:41:38 +0000 (23:41 +0100)]
lg: Replace remaining Color.init_from_4ub usage

Fixes cd33baff7d285af26475777fab1f59537c517cb5

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3197>

2 years agomain: Remove timestamp parameter from popModal()
Florian Müllner [Fri, 16 Feb 2024 23:35:39 +0000 (00:35 +0100)]
main: Remove timestamp parameter from popModal()

It has been unused since the move to Clutter.grab() in commit
f4cae72d17af.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

2 years agomain: Remove unused parameters from pushModal()
Florian Müllner [Fri, 16 Feb 2024 23:43:40 +0000 (00:43 +0100)]
main: Remove unused parameters from pushModal()

Both timestamp and options parameters have been unused since
the switch to Clutter.grab(), so remove them.

Stop using Params.parse(), so that code that still passes the
parameters doesn't throw an error.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

2 years agomodalDialog: Remove timestamp parameter from open()
Florian Müllner [Fri, 16 Feb 2024 23:07:36 +0000 (00:07 +0100)]
modalDialog: Remove timestamp parameter from open()

It is now unused.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

2 years agomodalDialog: Remove `onPrimary` parameter
Florian Müllner [Fri, 16 Feb 2024 23:20:46 +0000 (00:20 +0100)]
modalDialog: Remove `onPrimary` parameter

It was added in commit 48fb16b570 for the lock screen, but that
hasn't been based on ModalDialog for a long time.

It doesn't appear that anything else ever used the parameter,
so just remove it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

2 years agomodalDialog: Don't pass timestamp to popModal()
Florian Müllner [Fri, 16 Feb 2024 23:26:28 +0000 (00:26 +0100)]
modalDialog: Don't pass timestamp to popModal()

Just like in the pushModal() case, the parameter doesn't do
anything anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

2 years agomodalDialog: Stop passing timestamp to Main.pushModal()
Florian Müllner [Fri, 16 Feb 2024 22:58:12 +0000 (23:58 +0100)]
modalDialog: Stop passing timestamp to Main.pushModal()

Since the move to Clutter.grab() in commit f4cae72d17af6, the
parameter doesn't do anything anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

2 years agounlockDialog: Stop passing timestamp to Main.pushModal()
Florian Müllner [Fri, 16 Feb 2024 23:12:51 +0000 (00:12 +0100)]
unlockDialog: Stop passing timestamp to Main.pushModal()

Since the move to Clutter.grab() in commit f4cae72d17af6, the
parameter doesn't do anything anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

2 years agoappDisplay: Remove shellWorkspaceLaunch()
Florian Müllner [Fri, 16 Feb 2024 22:42:22 +0000 (23:42 +0100)]
appDisplay: Remove shellWorkspaceLaunch()

It was deprecated in commit 942758bb308 back in 2019.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

2 years agoUpdate Hebrew translation
Yaron Shahrabani [Fri, 16 Feb 2024 22:16:17 +0000 (22:16 +0000)]
Update Hebrew translation

2 years agoUpdate Ukrainian translation
Yuri Chornoivan [Fri, 16 Feb 2024 18:33:51 +0000 (18:33 +0000)]
Update Ukrainian translation

2 years agoUpdate Basque translation
Asier Sarasua Garmendia [Fri, 16 Feb 2024 15:16:34 +0000 (15:16 +0000)]
Update Basque translation

2 years agocleanup: Prefer CoglColor.init_form_4f
Bilal Elmoussaoui [Mon, 29 Jan 2024 13:27:07 +0000 (14:27 +0100)]
cleanup: Prefer CoglColor.init_form_4f

As we are slowly moving colors to be represented by a [0, 1] floats.
The unsigned integer variant will likely be removed in the near future, so be
ready for that already

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3147>

2 years agocleanup: Adapt to removal of CoglPipeline.set_color_*
Bilal Elmoussaoui [Mon, 29 Jan 2024 13:24:23 +0000 (14:24 +0100)]
cleanup: Adapt to removal of CoglPipeline.set_color_*

Associated Mutter PR: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3553

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3147>

2 years agoUpdate Georgian translation
Ekaterine Papava [Fri, 16 Feb 2024 11:23:31 +0000 (11:23 +0000)]
Update Georgian translation

2 years agocalendar: Add a11y label to the "Clear" button
Automeris naranja [Thu, 15 Feb 2024 06:49:35 +0000 (03:49 -0300)]
calendar: Add a11y label to the "Clear" button

The button that clear notifications is labeled as
"Clear". When using a screen reader, this label
doesn't provide enough context about the action
that will happen.

Fix that by adding an a11y label to this button.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7398

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3192>

2 years agoUpdate Persian translation
Danial Behzadi [Thu, 15 Feb 2024 21:02:27 +0000 (21:02 +0000)]
Update Persian translation

2 years agoUpdate Belarusian translation
Vasil Pupkin [Thu, 15 Feb 2024 07:12:34 +0000 (07:12 +0000)]
Update Belarusian translation

2 years agoUpdate Georgian translation
Ekaterine Papava [Thu, 15 Feb 2024 06:48:47 +0000 (06:48 +0000)]
Update Georgian translation

2 years agoUpdate Galician translation
Fran Dieguez [Thu, 15 Feb 2024 00:04:35 +0000 (00:04 +0000)]
Update Galician translation

2 years agobuild: Bump gsettings-desktop-schemas requirement
Florian Müllner [Wed, 14 Feb 2024 19:28:05 +0000 (20:28 +0100)]
build: Bump gsettings-desktop-schemas requirement

Needed for the `xkb-model` and `show-status-shapes` settings.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3191>

2 years agokeyboardManager: Adapt to moved functions
Bilal Elmoussaoui [Tue, 13 Feb 2024 19:28:13 +0000 (20:28 +0100)]
keyboardManager: Adapt to moved functions

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3189>

2 years agoUpdate Ukrainian translation
Yuri Chornoivan [Wed, 14 Feb 2024 18:42:27 +0000 (18:42 +0000)]
Update Ukrainian translation

2 years agoextensionSystem: Support locking down extension installation
Florian Müllner [Fri, 9 Feb 2024 23:58:27 +0000 (00:58 +0100)]
extensionSystem: Support locking down extension installation

Currently extensions can only be locked down completely by
restricting the `enabled-extensions` key via dconf.

This is too restrictive for environments that want to allow users
to customize their system with extensions, while still limiting
the set of possible extensions.

To fill that gap, add a new `allow-extension-installation` setting,
which restricts extensions to system extensions when disabled.

As the setting is mainly intended for locking down by system
administrators, there is no attempt to load/unload extensions
on settings changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3180>

2 years agost/drawing-actor: Queue redraw when repainting
Florian Müllner [Tue, 13 Feb 2024 23:00:48 +0000 (00:00 +0100)]
st/drawing-actor: Queue redraw when repainting

Commit e7734e30bd removed the clutter_content_invalidate() call
that took care of queuing a redraw for us. Now that we no
longer delegate to a content we have to do that ourselves.

Fixes: e7734e30bd ("st/drawing-area: Merge ClutterCanvas to StDrawingArea")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7397
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3190>

2 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 13 Feb 2024 17:40:37 +0000 (17:40 +0000)]
Update Ukrainian translation

2 years agoUpdate Russian translation
Artur S0 [Tue, 13 Feb 2024 16:35:00 +0000 (16:35 +0000)]
Update Russian translation

2 years agostatus/network: Fix small mistake
Julian Sparber [Tue, 13 Feb 2024 15:02:30 +0000 (16:02 +0100)]
status/network: Fix small mistake

After introducing the system source this mistake was introduced.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3188>

2 years agostatus/thunderbolt: Small style cleanup
Julian Sparber [Tue, 13 Feb 2024 15:00:43 +0000 (16:00 +0100)]
status/thunderbolt: Small style cleanup

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3188>

2 years agostatus/thunderbolt: Fix small mistake
Julian Sparber [Tue, 13 Feb 2024 14:59:46 +0000 (15:59 +0100)]
status/thunderbolt: Fix small mistake

After introducing the system source this mistake was introduced.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3188>

2 years agoUpdate Turkish translation
Sabri Ünal [Tue, 13 Feb 2024 13:09:25 +0000 (13:09 +0000)]
Update Turkish translation

2 years agomagnifier: Keep accounting of own cursor unfocus inhibition
Carlos Garnacho [Thu, 23 Nov 2023 23:28:39 +0000 (00:28 +0100)]
magnifier: Keep accounting of own cursor unfocus inhibition

Do not rely on global state since there may be more users of it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3028>

2 years agost: Adapt to ClutterGrab becoming a GObject
Carlos Garnacho [Wed, 22 Nov 2023 12:06:17 +0000 (13:06 +0100)]
st: Adapt to ClutterGrab becoming a GObject

Change the unref function, since it's no longer a boxed type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3028>

2 years agoUpdate Czech translation
Marek Černocký [Tue, 13 Feb 2024 10:11:39 +0000 (10:11 +0000)]
Update Czech translation

2 years agoUpdate Persian translation
Danial Behzadi [Mon, 12 Feb 2024 16:45:18 +0000 (16:45 +0000)]
Update Persian translation

2 years agotools/toolbox: Expose --reconfigure meson flag
Florian Müllner [Mon, 12 Feb 2024 13:13:07 +0000 (14:13 +0100)]
tools/toolbox: Expose --reconfigure meson flag

It turns out that nowadays meson updates don't always require
a full wipe of an existing build dir, but `--reconfigure` is
often enough. So let's expose that flag as well.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3187>

2 years agoUpdate Georgian translation
Ekaterine Papava [Mon, 12 Feb 2024 13:00:59 +0000 (13:00 +0000)]
Update Georgian translation

2 years agotools/toolbox: Explicitly use /bin/bash
Paul Hollinsky [Sun, 11 Feb 2024 22:34:58 +0000 (14:34 -0800)]
tools/toolbox: Explicitly use /bin/bash

The script uses bash-specific language extensions which cause syntax
errors when run with /bin/sh -> /bin/dash.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3186>

2 years agoBump version to 46.beta
Florian Müllner [Sun, 11 Feb 2024 16:37:51 +0000 (17:37 +0100)]
Bump version to 46.beta

Update NEWS.

2 years agoscreencastService: Remove unused variable assignment
Jonas Dreßler [Sun, 10 Dec 2023 11:47:02 +0000 (12:47 +0100)]
screencastService: Remove unused variable assignment

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>

2 years agoscreenshot: Also do pipeline fallback on screencast crashes during startup
Jonas Dreßler [Mon, 2 Oct 2023 12:30:08 +0000 (14:30 +0200)]
screenshot: Also do pipeline fallback on screencast crashes during startup

Since the last commit, we have infrastructure in place in the ScreencastService
to blocklist pipelines which crashed the recorder.

If such a crash happens a few minutes into a screencast, we can't do any better
than telling the user about the problem and encouraging them to try again (with
the faulty pipeline now blocklisted).

If the crash happens while starting the recording though, we can actually do
better: We can try to auto-restart the ScreencastService ourselves, and the
recording might still succeed without the user noticing anything. So retry
that start of the recorder for two more times, and then finally give up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>

2 years agoscreenshot: Blocklist the current screencast pipeline if recorder failed
Jonas Dreßler [Thu, 19 Oct 2023 14:09:00 +0000 (16:09 +0200)]
screenshot: Blocklist the current screencast pipeline if recorder failed

When gstreamer crashes during recording, it pulls the whole screencastService
down with it.

These crashes are typically caused by the gstreamer pipeline that's in use,
so to avoid running into them again and again, we can blocklist the last
used pipeline in case the recorder didn't shut down (aka crashed) last time.

To store this state, create a file (gnome-shell-screencast-pipeline-blocklist)
in the XDG runtime dir and store the ID of the current pipeline in that file
before we try to start.

Now when we crash while running the pipeline, the entry in that file will stay
around and we'll pick it up on the next start of the screencastService as a
blocklist.

When the recording was successful on the other hand, we'll call
`this._updateServiceCrashBlocklist([...this._blocklistFromPreviousCrashes])`
and remove the new entry from the file again before shutting down the recorder.

In addition to that, we can now encourage the user to try recording again
after a crash happened. Adjust the failure notification a bit to say
"please try again".

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6747

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>

2 years agoscreenshot: Show a special error when screencast ran out of disk space
Jonas Dreßler [Mon, 2 Oct 2023 12:00:45 +0000 (14:00 +0200)]
screenshot: Show a special error when screencast ran out of disk space

Since we now propagate error types back to gnome-shell now, let's start
with showing a special error message in case the disk ran out of space,
which is probably the most typical error.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>

2 years agoscreenshot: Handle screencast startup failures using special notification
Jonas Dreßler [Wed, 7 Feb 2024 11:05:47 +0000 (12:05 +0100)]
screenshot: Handle screencast startup failures using special notification

When the screencast fails to start, we currently don't really inform the
user, other than the red screencasting indicator in the panel going away.

Re-use the failure handling paths to also show a notification when the
screencast fails to start. The notification in this case obviously should
not have an action to open a file (there is no file), so make that depend
on whether this._screencastPath is set and unset the path.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>

2 years agoscreencastService: Propagate machine-parseable error types to gnome-shell
Jonas Dreßler [Sun, 1 Oct 2023 18:10:33 +0000 (20:10 +0200)]
screencastService: Propagate machine-parseable error types to gnome-shell

We'll be using hardware encoding for screencasts soon, so we'll likely see
more things go wrong in the future, including crashes of the whole
screencastService. To deal with this, we'll introduce logic to blocklist
certain recording pipelines in case of failure and also add some logic
to retry the recording automatically.

To allow for better messaging to the user in those failure cases, we want
to be aware in gnome-shell, what exactly the error in the recorder was.

So propagate the most common types of errors that can happen in the
ScreencastService to gnome-shell using the new DBusError module.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>

2 years agoci: Bump mutter image
Florian Müllner [Sun, 11 Feb 2024 01:15:34 +0000 (02:15 +0100)]
ci: Bump mutter image

The new image no longer includes the development version of glib,
which provides a newer API version of GIRepository that breaks
gjs' package module.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3181>

2 years agoUpdate Turkish translation
Sabri Ünal [Sat, 10 Feb 2024 10:58:40 +0000 (10:58 +0000)]
Update Turkish translation

2 years agomessageList: Fix spacing between messages in calendar
Julian Sparber [Fri, 9 Feb 2024 17:08:07 +0000 (18:08 +0100)]
messageList: Fix spacing between messages in calendar

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3177>

2 years agolayout: Stop using deprecated display property
Bilal Elmoussaoui [Fri, 9 Feb 2024 18:04:53 +0000 (19:04 +0100)]
layout: Stop using deprecated display property

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3178>

2 years agolayout: Don't use supports_extended_barriers()
Florian Müllner [Fri, 9 Feb 2024 16:26:38 +0000 (17:26 +0100)]
layout: Don't use supports_extended_barriers()

The method was deprecated in favor of backend capabilities,
so query those instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3176>

2 years agolayout: Don't use get_feedback_group_for_display()
Florian Müllner [Fri, 9 Feb 2024 16:22:24 +0000 (17:22 +0100)]
layout: Don't use get_feedback_group_for_display()

The global method was deprecated in favor of a corresponding
method on Meta.Compositor, use that instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3176>

2 years agostyle: Adjust search content width to realign items
Sam Hewitt [Fri, 9 Feb 2024 13:42:35 +0000 (10:12 -0330)]
style: Adjust search content width to realign items

- default max-width doesn't align with new padding, fixed by tweaking

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7389
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3175>

2 years agomessageTray: Remove _createPolicy() hook
Florian Müllner [Wed, 7 Feb 2024 14:32:30 +0000 (15:32 +0100)]
messageTray: Remove _createPolicy() hook

It is now unused (at least in gnome-shell itself).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>

2 years agonotification: Pass policy in the Source contructor
Florian Müllner [Tue, 6 Feb 2024 17:16:29 +0000 (18:16 +0100)]
notification: Pass policy in the Source contructor

Commit 932ccac1 changed Source to use a regular constructor
instead of `_init()`.

Unfortunately that results in ordering issues for subclasses
that override `_createPolicy()`, if that method needs to access
any properties that are set in the constructor (as `this` is
only available after chaining up to the parent).

We can fix that by simply setting the policy from the constructor,
instead of relying on some overriden method being called.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>